Implemented simple virtualenv setup via python-shell-virtualenv-path variable.
author=?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= <fgallina@cuca>
Thu, 17 May 2012 03:03:21 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Thu, 17 May 2012 03:03:21 +0000 (00:03 -0300)
commit855fdc1c20329bc435cce7a7e04b31537b9510c6
tree899e8e6dfb5938cc0a1801b50ad2414dda2cfa8a
parent0a97c74b621e82973404fd4eb4cd002d16d9ce37
Implemented simple virtualenv setup via python-shell-virtualenv-path variable.

when set to a string, makes the values stored in
`python-shell-process-environment' and `python-shell-exec-path' to be
modified properly so shells are started with the specified virtualenv.

New Variables:
    * python-shell-virtualenv-path

New functions:
    * python-shell-calculate-process-environment
    * python-shell-calculate-exec-path
lisp/progmodes/python.el